package com.macro.mall.service;


import com.macro.mall.dto.BmsNarratorThemeDetail;
import com.macro.mall.dto.BmsNarratorThemeParam;
import com.macro.mall.model.BmsNarratorTheme;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface BmsNarratorThemeService {

    /**
     * 分页获取讲解项目-主题
     */
    List<BmsNarratorTheme> getList(BmsNarratorThemeParam bmsNarratorThemeParam);

    /**
     * 添加讲解项目-主题
     */
    @Transactional
    int create(BmsNarratorThemeParam bmsNarratorThemeParam);

    /**
     * 修改讲解项目-主题
     */
    int update(BmsNarratorThemeParam bmsNarratorThemeParam);

    /**
     * 获取单个讲解项目-主题详情
     */
    BmsNarratorThemeDetail getItem(Long id);

    /**
     * 批量删除讲解项目-主题
     */
    @Transactional
    int delete(List<Long> ids);

    List<BmsNarratorTheme> findAllList();

}
